package com.zhb.cloud.config;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;

/**
 * @Title: MongoConfig.java
 * @Package com.tztd.msg.config
 * @Description:
 * @author zhb
 * @date 2016年7月7日 下午7:02:51
 * @version V1.0
 */
@Configuration
public class ESConfig {
	public ElasticsearchTemplate elasticsearchTemplate() {
		HashMap<String, Object> hashMap = new HashMap<>();
		hashMap.put("", "");
		Hashtable<String, Object> hashtable = new Hashtable<>();
		hashtable.put("", "");
		hashtable.get("");
		LinkedHashMap<String, Object> linkedHashMap = new LinkedHashMap<>();
		linkedHashMap.put("", "");
		linkedHashMap.get("");
		List<String> list = new LinkedList<>();
		list.add("");
		list.get(9);// 折半查找法

		return new ElasticsearchTemplate(null);
	}
}
